package com.wanban.downloader.listener

import com.wanban.downloader.db.DownloadEntity


interface OnM3U8DownloadListener {

    fun onStart(url: String)

    fun onError(url: String, errorMsg: String)

    fun onProgress(url: String, speed: Long, percent: Float, currentLength: Long)

    fun onSuccess(task: DownloadEntity)
}